//
//  JGRealOrderAlertView.h
//  JGRider
//
//  Created by 单启志 on 2018/3/1.
//  Copyright © 2018年 ffq. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef enum : NSUInteger {
    ResultTypeNoValidate,//未来验证
    ResultTypeSuccess,   //成功
    ResultTypeWasRobbed, //被抢
} ResulType;
@protocol JGRealOrderAlertViewDelegate<NSObject>
-(void)alertViewConfirmEvent;
@end

@interface JGRealOrderAlertView : UIView

@property(nonatomic,weak)id<JGRealOrderAlertViewDelegate>delegate;
@property(nonatomic,assign)ResulType type;
@property(nonatomic,copy)void(^confirmBlock)(void);
@end
